<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Odyssee.WCFCocapps" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Odyssee.WCFCocapps" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:52448/contacts/Contacts.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" />
  <xs:import schemaLocation="http://localhost:52448/contacts/Contacts.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="CriteresRechercheContact">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q1:OperationParameters">
        <xs:sequence>
          <xs:element minOccurs="0" name="Abrege" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ActionLiee" type="xs:int" />
          <xs:element minOccurs="0" name="ApplicationExterne" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Cle" type="xs:int" />
          <xs:element minOccurs="0" name="CleExterne" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CodePostal" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ContactLie" type="xs:int" />
          <xs:element minOccurs="0" name="DocumentLie" type="xs:int" />
          <xs:element minOccurs="0" name="DossierLie" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="EntrepriseLiee" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Fonction" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="MotifDiffusionLienDocument" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Nom" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="NumeroSecu" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Prenom" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Service" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Telephone" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TypeLienEntreprise" type="tns:TypeLienEntrepriseContact" />
          <xs:element minOccurs="0" name="TypeRelationContactLie" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TypeRelationDossierLie" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Ville" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CriteresRechercheContact" nillable="true" type="tns:CriteresRechercheContact" />
  <xs:simpleType name="TypeLienEntrepriseContact">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Tous" />
      <xs:enumeration value="IntraEntreprise">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">73</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ExtraEntreprise">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">69</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AQuitteLEntreprise">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">65</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TypeLienEntrepriseContact" nillable="true" type="tns:TypeLienEntrepriseContact" />
  <xs:complexType name="ResultatRechercheContact">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q2:OperationResult">
        <xs:sequence>
          <xs:element minOccurs="0" name="Contacts" nillable="true" type="tns:ArrayOfContact" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ResultatRechercheContact" nillable="true" type="tns:ResultatRechercheContact" />
  <xs:complexType name="ArrayOfContact">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Contact" nillable="true" type="tns:Contact" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfContact" nillable="true" type="tns:ArrayOfContact" />
  <xs:complexType name="Contact">
    <xs:sequence>
      <xs:element minOccurs="0" name="Adresse" nillable="true" type="tns:Adresse" />
      <xs:element minOccurs="0" name="ApplicationExterne" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Cle" type="xs:int" />
      <xs:element minOccurs="0" name="CleExterne" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DateNaissance" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Entreprise" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Fax" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Fonction" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Nom" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NomDeJeuneFille" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Portable" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Prenom" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Qualite" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Service" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Telephone" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ZoneSup" nillable="true" type="tns:ZoneSup" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Contact" nillable="true" type="tns:Contact" />
  <xs:complexType name="Adresse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:Localite">
        <xs:sequence>
          <xs:element minOccurs="0" name="Adresse1" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Adresse2" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Adresse3" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Adresse4" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Adresse" nillable="true" type="tns:Adresse" />
  <xs:complexType name="Localite">
    <xs:sequence>
      <xs:element minOccurs="0" name="CodePostal" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Pays" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Ville" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Localite" nillable="true" type="tns:Localite" />
  <xs:complexType name="ZoneSup">
    <xs:sequence>
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Date1" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Date2" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Numerique1" type="xs:decimal" />
      <xs:element minOccurs="0" name="Numerique2" type="xs:decimal" />
      <xs:element minOccurs="0" name="Numerique3" type="xs:decimal" />
      <xs:element minOccurs="0" name="Texte1" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Texte2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Texte3" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ZoneSup" nillable="true" type="tns:ZoneSup" />
  <xs:complexType name="ParametresCreationContact">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q3="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q3:OperationParameters">
        <xs:sequence>
          <xs:element minOccurs="0" name="Contact" nillable="true" type="tns:Contact" />
          <xs:element minOccurs="0" name="Dedoublonnage" type="tns:DedoublonnageContact" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ParametresCreationContact" nillable="true" type="tns:ParametresCreationContact" />
  <xs:simpleType name="DedoublonnageContact">
    <xs:list>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="Aucun">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="NomPrenom">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="NomPrenomEmail">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="NomPrenomTelephone">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="NomPrenomPortable">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="NomPrenomCodePostal">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">16</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="Email">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">32</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="Telephone">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">64</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="Portable">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">128</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="NumeroSecu">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">256</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:list>
  </xs:simpleType>
  <xs:element name="DedoublonnageContact" nillable="true" type="tns:DedoublonnageContact" />
  <xs:complexType name="ResultatCreationContact">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q4="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q4:OperationResult">
        <xs:sequence>
          <xs:element minOccurs="0" name="CleContact" type="xs:int" />
          <xs:element minOccurs="0" name="MiseAJour" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ResultatCreationContact" nillable="true" type="tns:ResultatCreationContact" />
  <xs:complexType name="ParametresSuppressionContact">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q5="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q5:OperationParameters">
        <xs:sequence>
          <xs:element minOccurs="0" name="ApplicationExterne" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CleContact" type="xs:int" />
          <xs:element minOccurs="0" name="CleExterne" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SuppressionTotale" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ParametresSuppressionContact" nillable="true" type="tns:ParametresSuppressionContact" />
  <xs:complexType name="ParametresTransfertContact">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q6="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q6:OperationParameters">
        <xs:sequence>
          <xs:element minOccurs="0" name="ApplicationExterneCible" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ApplicationExterneSource" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CleContactCible" type="xs:int" />
          <xs:element minOccurs="0" name="CleContactSource" type="xs:int" />
          <xs:element minOccurs="0" name="CleExterneCible" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CleExterneSource" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CompleterFiche" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ParametresTransfertContact" nillable="true" type="tns:ParametresTransfertContact" />
  <xs:complexType name="ParametresLectureLienContactEntreprise">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q7="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q7:OperationParameters">
        <xs:sequence>
          <xs:element minOccurs="0" name="CleContact" type="xs:int" />
          <xs:element minOccurs="0" name="CleEntreprise" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Fonction" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ParametresLectureLienContactEntreprise" nillable="true" type="tns:ParametresLectureLienContactEntreprise" />
  <xs:complexType name="ResultatListeLiensContactEntreprise">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q8="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q8:OperationResult">
        <xs:sequence>
          <xs:element minOccurs="0" name="Liens" nillable="true" type="tns:ArrayOfLienContactEntreprise" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ResultatListeLiensContactEntreprise" nillable="true" type="tns:ResultatListeLiensContactEntreprise" />
  <xs:complexType name="ArrayOfLienContactEntreprise">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="LienContactEntreprise" nillable="true" type="tns:LienContactEntreprise" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfLienContactEntreprise" nillable="true" type="tns:ArrayOfLienContactEntreprise" />
  <xs:complexType name="LienContactEntreprise">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q9="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q9:OperationParameters">
        <xs:sequence>
          <xs:element minOccurs="0" name="Adresse" nillable="true" type="tns:Adresse" />
          <xs:element minOccurs="0" name="AncienneFonction" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CleContact" type="xs:int" />
          <xs:element minOccurs="0" name="CleEntreprise" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CodeFonction" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CodeService" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="EMail" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="LibelleFonction" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="LibelleService" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Nom" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Prenom" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Qualite" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Remarques" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TypeChoixAdresse" type="tns:TypeChoixAdresseLienContactEntreprise" />
          <xs:element minOccurs="0" name="TypeLien" type="tns:TypeLienEntrepriseContact" />
          <xs:element minOccurs="0" name="ZoneSup" nillable="true" type="tns:ZoneSup" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="LienContactEntreprise" nillable="true" type="tns:LienContactEntreprise" />
  <xs:simpleType name="TypeChoixAdresseLienContactEntreprise">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Entreprise" />
      <xs:enumeration value="Contact" />
      <xs:enumeration value="EntreprisePrincipale" />
      <xs:enumeration value="LieALaFonction" />
      <xs:enumeration value="SiteUtilisateurDestinataire" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TypeChoixAdresseLienContactEntreprise" nillable="true" type="tns:TypeChoixAdresseLienContactEntreprise" />
  <xs:complexType name="ParametresLienContactEntreprise">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q10="http://schemas.datacontract.org/2004/07/Odyssee.Acropolis.WcfTools" base="q10:OperationParameters">
        <xs:sequence>
          <xs:element minOccurs="0" name="Lien" nillable="true" type="tns:LienContactEntreprise" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ParametresLienContactEntreprise" nillable="true" type="tns:ParametresLienContactEntreprise" />
</xs:schema>